<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="template.xhtml">        
        <ui:define name="content">
            <h:body>
                <h:form>
                    <h:panelGrid columns="2">
                        Title:
                        <h:inputText id="title" value="#{createProductController.title}"/>
                        <h:message for="title"/>

                        <h:commandButton action="#{createProductController.doCreateProduct()}" value="create"/>
                    </h:panelGrid>
                </h:form>
            </h:body>
        </ui:define>
    </ui:composition>
</html>
